function notification(btn) {
    let content = $('.notifications-content');
    if (content.hasClass('notifications-content-active')) {
        content.removeClass('notifications-content-active');
        $(btn).removeClass('notifications-btn-active');

    } else {
        content.addClass('notifications-content-active');
        $(btn).addClass('notifications-btn-active');
    }
}

function user(btn) {
    let content = $('.user-content');
    if (content.hasClass('user-content-active')) {
        content.removeClass('user-content-active');
        $(btn).removeClass('user-avatar-active');

    } else {
        content.addClass('user-content-active');
        $(btn).addClass('user-avatar-active');
    }
}